Fix minor problems found by static checking.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 26 Aug 2013 21:31:50 +0000 (14:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 26 Aug 2013 21:31:50 +0000 (14:31 -0700)
commitec6b043499cc7413750c251454409f1cb38c8df5
tree47e7fea3a6cd1350e412088f3e27243a65e3cee4
parent1c6bf31d31d95eb1fc57729b0467383b98121f94
Fix minor problems found by static checking.

* image.c (XGetPixel, XPutPixel) [HAVE_NS]: Now static.
(expect): Avoid nested-if warning.
(x_build_heuristic_mask) [HAVE_NS]: Avoid unused-var warning.
* nsmenu.m (fillWithWidgetValue:): Avoid type warning.
* nsterm.h, nsterm.m (ns_select):
* xgselect.c, xgselect.h (xg_select):
Adjust signature to better match pselect's.
* nsterm.m (ns_select):
Don't set *TIMEOUT, since pselect doesn't.
* regex.c (whitespace_regexp): Now const_re_char *, to avoid
diagnostic about assigning const char * to it.
* xfaces.c (x_display_info) [HAVE_NS]: Remove; unused.
src/ChangeLog
src/image.c
src/nsmenu.m
src/nsterm.h
src/nsterm.m
src/regex.c
src/xfaces.c
src/xgselect.c
src/xgselect.h